package com.zygh.lz.entity.dto;

import com.zygh.lz.entity.vo.EquipageVO;
import com.zygh.lz.entity.vo.StaffVO;
import com.zygh.lz.entity.vo.XareaVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/**
 * @author jhaol
 */
@Data
@ApiModel(value = "PostDeployDTO", description = "")
public class PostDeployDTO implements Serializable {
    /**
     * 岗位id
     **/
    private Integer id;
    /**
     * 岗位信息
     **/
    @ApiModelProperty(value = "岗位信息")
    private List<XareaVO> post;
    /**
     * 警员信息
     **/
    @ApiModelProperty(value = "警员信息")
    private List<StaffVO> police;

    /**
     * 装备信息
     **/
    @ApiModelProperty(value = "装备信息")
    private List<EquipageVO> equipage;

    public PostDeployDTO build() {
        post = new ArrayList<XareaVO>();
        police = new ArrayList<StaffVO>();
        equipage = new ArrayList<EquipageVO>();
        return this;
    }

    private static final long serialVersionUID = 1L;
}
